export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  labelWidth: 150,
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  columnBtn: false,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "id",
      hide: true,
      editDisplay: false,
      addDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "居住人ID",
      "prop": "residentId",
      hide: true,
      editDisplay: false,
      addDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "居住人名称",
      formslot: true,
      showColumn: false,
      "prop": "residentName",
      hide: true,
      editDisplay: false,
      addDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "居住人名称",
      search: true,
      searchLabelWidth: 100,
      searchLabelWidth: 100,
      "prop": "residentRealname",
      rules: [{
        required: true,
        message: '请输入居住人姓名',
      }],
      maxlength: 32,
      "span": 12
    // },	  {
    //   "type": "input",
    //   "label": "处室或人员状态",
    //   maxlength: 32,
    //   "prop": "residentStatus",
    //   "span": 12
    }, {
      "prop": "residentDeptId",
      "type": "tree",
      dataType: "number",
      search: true,
      dicUrl: "/admin/dept/tree",
      props: {
          label: "name",
          value: "id"
      },
      rules: [{
        required: true,
        message: '请选择所在部门',
      }],
      "label": "所在部门"
    },	  {
      "type": "checkbox",
      width: 400,
      labelWidth: 300,
      "label": "本人及配偶是否购买或租赁政策性住房优惠政策，租住公有住房情况（相应位置有则填“是”，没有则不填）",
      "prop": "situation",
      dicUrl: '/admin/dict/type/housing_situation',
      props: {
        label: 'label',
        value: 'value',
      },
      "span": 24
    },	  {
      "type": "input",
      width: 300,
      "label": "至2008年12月底本人领取300个月住房货币补贴情况补贴情况",
      maxlength: 64,
      "prop": "subsidy",
      "span": 12
    },	  {
      "type": "select",
      search: true,
      searchLabelWidth: 220,
      searchSpan: 8,
      "label": "截至目前是否享受政策性住房",
      "prop": "enjoy",
      dicData: [{
        label: '是',
        value: '1'
      }, {
        label: '否',
        value: '0'
      }],
      "span": 12
    },	  {
      "type": "upload",
      "label": "附件",
      "prop": "attachment",
      rules: [{
        required: true,
        message: '请上传附件',
        trigger: 'change'
      }],
      accept: [],
      propsHttp: {
        res: 'data',
        name: "original"
      },
      props: {
        label: "original",
        value: "url"
      },
      action: "/act/file/upload",
      listType: 'file',
      hide: true,
      "span": 24
    },	  {
      "type": "textarea",
      "label": "备注",
      maxlength: 512,
      "prop": "remark",
      "span": 24
    },	  {
      "type": "input",
      "label": "登记人",
      "prop": "handleRealname",
      editDisabled: true,
      addDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "登记时间",
      "prop": "createTime",
      editDisabled: true,
      addDisplay: false,
      "span": 12
    }  ]
}
